package com.edu.entity.user;


/**
 * @Auther: jzhang
 * @Date: 2018/10/15 15:21
 * @Description: 系统用户类
 */
public class SysUser {
    private int id;
    private String username;    //登录名
    private String password;
    private String telephone;
    private String picture;
    public SysUser() {
        super();
    }

    @Override
    public String toString() {
        return "SysUser{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", telephone='" + telephone + '\'' +
                ", picture='" + picture + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }
    public SysUser(String username, String password, String telephone) {
        this.username = username;
        this.password = password;
        this.telephone = telephone;
    }

    public SysUser(int id, String username, String password, String telephone) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.telephone = telephone;
    }

    public SysUser(int id, String username, String picture) {
        this.id = id;
        this.username = username;
        this.picture = picture;
    }
}
